package com.sdkx.wear_os.retrofit.download

import android.content.Context
import android.net.Uri
import java.io.File

/**
 * 下载设置
 */
abstract class IDownloadBuild {
    open fun getFileName(): String? = null
    open fun getUri(contentType: String): Uri? = null
    open fun getDownloadFile(): File? = null
    abstract fun getContext(): Context
}

class DownloadBuild(private val context: Context) : IDownloadBuild() {
    override fun getContext(): Context {
        return context
    }

}